<?php


 
// username and password sent from form 
$id=$_POST['id']; 

$name=$_POST['name']; 
$type=$_POST['type']; 
$des=$_POST['des']; 

$sql="UPDATE  `backoffice`.`organization` SET  `name` =  '$name',`type` =  '$type',`des` =  '$des' WHERE  `organization`.`id` ='$id'";   


//$sql="SELECT * FROM `user`";
mysql_query($sql);

// Register $myusername, $mypassword and redirect to file "login_success.php"
//
//print_r($_SESSION);
header("location:../index.php?page=manage_organizations");

?>